//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace;

import com.baidu.trace.api.fence.CreateFenceResponse;
import com.baidu.trace.api.fence.DeleteFenceResponse;
import com.baidu.trace.api.fence.FenceListResponse;
import com.baidu.trace.api.fence.HistoryAlarmResponse;
import com.baidu.trace.api.fence.MonitoredStatusByLocationResponse;
import com.baidu.trace.api.fence.MonitoredStatusResponse;
import com.baidu.trace.api.fence.OnFenceListener;
import com.baidu.trace.api.fence.UpdateFenceResponse;
import com.baidu.trace.model.BaseResponse;

final class ai implements Runnable {
    ai(int var1, OnFenceListener var2, BaseResponse var3) {
        this.a = var1;
        this.b = var2;
        this.c = var3;
        super();
    }

    public final void run() {
        switch(this.a) {
            case 1:
                this.b.onCreateFenceCallback((CreateFenceResponse)this.c);
                return;
            case 2:
                this.b.onUpdateFenceCallback((UpdateFenceResponse)this.c);
                return;
            case 3:
                this.b.onDeleteFenceCallback((DeleteFenceResponse)this.c);
                return;
            case 4:
                this.b.onFenceListCallback((FenceListResponse)this.c);
                return;
            case 5:
                this.b.onMonitoredStatusCallback((MonitoredStatusResponse)this.c);
                return;
            case 6:
                this.b.onMonitoredStatusByLocationCallback((MonitoredStatusByLocationResponse)this.c);
                return;
            case 7:
                this.b.onHistoryAlarmCallback((HistoryAlarmResponse)this.c);
            default:
        }
    }
}
